package com.qdd.freight.service;

import com.qdd.freight.entity.Datas;


/**
 * service接口，调用处理器进行逻辑计算
 *
 * @InterfaceName IOrderService
 * @Description TODO
 * @Author yanpeihao
 * @Date 2019/12/6 21:21
 * @Version 1.0
 **/
public interface FreightService {
    /**
     * 根据订单的不同类型做出不同的处理
     *
     * @param modeId    快运类型
     * @param goodsId   商品id
     * @param entId     仓库id
     * @param quantity  采购数量
     * @param company   企业编号
     * @param consignee 省市区编号
     * @return
     */
    Datas handle(Integer modeId, Integer goodsId, Integer entId,
                 Integer quantity, Integer company, String consignee,
                 Double boxVolume, Double singleVolume, Double boxWeight,
                 Double singleWeight, Integer QTYRate) throws Exception;
}

